As usual, you have to mess around for ages in Linux even over the simplest things. Well, probably because I have an old Linux - debian lenny. There were issues with autoconf, so I had to install git and compile from the repo.
And I even enabled generational GC, though it was a struggle.